﻿// See https://aka.ms/new-console-template for more information
var converter = new ImageToPdfConverter();
// 单图转PDF
converter.ConvertImageToPdf(@"D:\dl\微信图片_20250306181215.jpg",
 @"D:\dl\output.pdf");
// 多图合并
// converter.BatchConvertImagesToPdf(new[] { @"C:\img1.jpg", @"C:\img2.jpg" }, @"C:\combined.pdf");

Console.WriteLine("Hello, World!");
